<ion-view>
    <ion-nav-bar class="drive-title">
        <ion-nav-buttons>
            <button ui-sref="index" class="button button-clear button-light">
                <i class="icon ion-ios-arrow-left"></i>&nbsp;返回
            </button>
        </ion-nav-buttons>
    </ion-nav-bar>
    <ion-content>
        <div class="item-input-inset">
            <label class="item-input-wrapper">
                <i class="icon ion-ios-search placeholder-icon"></i>
                <input style="width: 100%;" type="search" placeholder="输入手机号" ng-model="queryUser.phone">
            </label>
            <button class="button button-clear" style="color: #fc8325;" ng-click="init()">
                搜索
            </button>
        </div>
        <ion-list ng-if="userList.length > 0">
            <ion-item class="item" ng-repeat="item in userList track by $index">
                <div style="text-align: center; margin-bottom: 10px;">
                    <img ng-src="{{item.image || contextPath + '/images/truck-default-logo.png'}}"
                         style="max-width: 220px; max-height: 240px; border-radius: 0">
                </div>
                <!--<div class="hyc-caption" ng-show="isShow">-->
                <!--<h5 class="text-center" style="padding-top: 36px; color: #FFFFFF;">-->
                <!--<ol>-->
                <!--<li ng-repeat="(k,v) in selectFiles">-->
                <!--{{v.progress.p}}%-->
                <!--</li>-->
                <!--</ol>-->
                <!--</h5>-->
                <!--</div>-->
                <h2>{{item.userName || '--'}}</h2>
                <p>手机号：{{item.phone || '--'}}</p>
                <p>身份证：{{item.idno || '--'}}</p>
                <p>驾驶证：{{item.licenseName || '--'}}</p>
                <p>在线状态：{{item.statusText || '--'}}</p>
            </ion-item>
        </ion-list>
        <div class="padding text-center" ng-if="userList.length <= 0">
            <p>暂无司机数据</p>
        </div>
        <div style="margin: 10px; margin-right: 10px; text-decoration: none;background-color: #fc8325;color: #ffffff;position: relative;line-height: 41px; border-radius: 5px;text-align: center;"
             ng-file-select="onFileSelect($files)" data-multiple="true" onclick="this.value = null"
             class="btn btn-upload" ng-show="isShowBtn">
            头像采集
        </div>
    </ion-content>
</ion-view>